From 3515762472dd793bd890a2fb3a4897b38658ec6f Mon Sep 17 00:00:00 2001 From: robertl Date: Fri, 16 Apr 2004 16:36:19 +0000 Subject: [PATCH] Correct stupid cut and paste. (Man, Ron's fast...) --- gpsbabel/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gpsbabel/main.c b/gpsbabel/main.c index cc45c8f37..477e2368a 100644 --- a/gpsbabel/main.c +++ b/gpsbabel/main.c @@ -160,8 +160,8 @@ main(int argc, char *argv[]) /* simulates the default behaviour of waypoints */ if (doing_nothing) global_opts.masked_objective |= WPTDATAMASK; - if (ovecs->rd_init == NULL) { - fatal ("Format does not support reading.\n"); + if (ovecs->wr_init == NULL) { + fatal ("Format does not support writing.\n"); } ovecs->wr_init(ofname); ovecs->write(); -- 2.30.2